//==============================================================================
// Mercenary_anim.txt
//==============================================================================

import Spear_Egyptian_Spearman_anim.txt
//==============================================================================
define Head
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Infantry E Mercenary Head
         }
      }
   }
}

//==============================================================================
define Despoiler
{
	set hotspot
	{
		version
		{
			VisualParticle sfx c pixiu glow old
			TimeOffset 3.00
		}
	}
}

//==============================================================================
define Shield
{
	SetSelector
	{
		TechLogic none/Leather Frame Shield/Medjay
		set hotspot
		{
			version
			{
				Visual Attachments A Shields Nubian
			}
		}
		set hotspot
		{
			version
			{
				Visual Attachments E Shield Leather Frame
			}
		}
		set hotspot
		{
			version
			{
				visual Attachments E Shield Large Iron
				ReplaceTexture Attachments E Shield Copper/Attachments E Shield Iron
				connect hotspot Despoiler hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Infantry E Mercenary_idleA
            connect TopOfHead Head hotspot
            connect leftforearm shield hotspot
            connect righthand spear hotspot
         }
      }
   }
}

//==============================================================================
anim Bored
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Infantry E Mercenary_boredA
            connect TopOfHead Head hotspot
            connect leftforearm shield hotspot
            connect righthand spear hotspot
         }
      }
   }
}


//==============================================================================
anim attack
{
	SetSelector
	{
		Techlogic none/Medjay
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.45 true
				tag SpecificSoundSet 0.39 false ShieldBashWooden checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry E Mercenary
				Connect TopOfHead Head hotspot
				connect LeftForearm shield hotspot
				connect RightHand Spear hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.45 true
				tag SpecificSoundSet 0.39 false ShieldBash checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry E Mercenary
				Connect TopOfHead Head hotspot
				connect LeftForearm shield hotspot
				connect RightHand Spear hotspot
			}
		}
	}
}

//==============================================================================
anim RangedAttack
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Infantry E Mercenary_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.51 true
                  tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
            connect TopOfHead Head hotspot
            connect leftforearm shield hotspot
            connect righthand spear hotspot
         }
      }
   }
}

//==============================================================================
/*
anim walkattack
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Infantry E Mercenary_WalkAttackA
            connect TopOfHead Head hotspot
            connect leftforearm shield hotspot
            connect righthand spear hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag Attack 0.58 true
            tag GenericSound 0.40 true
            tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
         }
      }
   }
}
*/

//==============================================================================
anim death
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Infantry E Mercenary_deathA
            connect TopOfHead Head hotspot
            connect leftforearm shield hotspot
            connect righthand spear hotspot
         }
      }
   }
}


//==============================================================================
anim Walk
{
  SetSelector none
  {
   set hotspot
   {
      version
      {
         Visual Infantry E Mercenary_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.75 true
                  tag FootstepRight 0.40 true
//-- end auto generated section
         connect TopOfHead Head hotspot
         connect leftforearm shield hotspot
         connect righthand spear hotspot
      }
   }
  }
}

//==============================================================================
anim Flail
{
  SetSelector none
  {
   set hotspot
   {
      version
      {
         Visual Infantry E Mercenary_FlailA
         connect TopOfHead Head hotspot
         connect leftforearm shield hotspot
         connect righthand spear hotspot
      }
   }
  }
}

